package com.clayecloud.lib_common.apis;

import com.clayecloud.lib_common.apis.entity.reportRepair.ClientReportRepair;
import com.clayecloud.lib_common.utils.MessageUtil;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface ReportRepairApi {
    @POST("reportrepair/insert")
    Observable<MessageUtil> insert(@Body ClientReportRepair clientReportRepair);

    @GET("reportrepair/getlist")
    Observable<MessageUtil> select(@Query("userID") Integer userID);

}
